:root {
  --color-dark-blue: #0a3d62;
  --color-light-blue: #e6f2ff;
  --color-primary: #1e6bd6;
  --color-white: #ffffff;
  --color-text: #16324a;
  --color-border: #c7ddff;
}

* { box-sizing: border-box; }

html, body, #app { height: 100%; }
body {
  margin: 0;
  background: var(--color-light-blue);
  color: var(--color-text);
  font-family: Avenir, Helvetica, Arial, sans-serif;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('./chiikawa-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.15;
  z-index: -1;
  pointer-events: none;
}

header {
  background: var(--color-dark-blue);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 12px 20px;
}

.header-left { display:flex; align-items:center; gap:12px; margin-right:auto; }
.brand-title { font-weight: 900; font-size: 22px; letter-spacing: 0.3px; color: var(--color-white); }

nav a {
  color: var(--color-white);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 4px;
}
nav a.router-link-active {
  background: rgba(255,255,255,0.18);
}

header select {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 16px;
}

main {
  min-height: calc(100vh - 56px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.container { width: 100%; max-width: 980px; }

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(10, 61, 98, 0.08);
  padding: 44px;
}

.form-card { max-width: 680px; margin: 0 auto; }

.form-row { display: block; margin-bottom: 20px; }
.form-row label { display:block; margin-bottom: 8px; color: var(--color-dark-blue); font-weight: 800; font-size: 18px; }
.form-row input, .form-row select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #f9fbff;
  font-size: 18px;
}

.form-row { position: relative; }
.form-row input.error {
  border-color: #e74c3c;
  background: #fdf2f2;
}

.error-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #e74c3c;
  font-size: 16px;
  pointer-events: none;
}

/* Inline layout used on login for label-before-input */
.inline-row { display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.inline-row label { width: 100px; margin: 0; text-align: right; font-weight: 800; color: var(--color-dark-blue); }
.inline-row input, .inline-row select { flex: 1; width: auto; }

h2 { color: var(--color-dark-blue); font-weight: 800; letter-spacing: 0.2px; margin: 0 0 22px; font-size: 36px; text-align:center; }
p { color: #355573; }

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  cursor: pointer;
  font-weight: 800;
  font-size: 18px;
}
.btn-primary:hover { background: #155bb5; }

.btn-lg { padding: 16px 30px; font-size: 20px; border-radius: 14px; }

.link { color: var(--color-primary); text-decoration: none; font-weight: 600; }
.link:hover { text-decoration: underline; }

/* Actions layout */
.actions-center { display:flex; justify-content:center; margin-top: 12px; }
.actions-spaced { display:flex; justify-content:space-between; gap:16px; margin-top: 12px; }

/* Wizard tabs */
.wizard-tabs { display:flex; gap:16px; margin-bottom:20px; justify-content:center; }
.wizard-tab { background:#f1f7ff; border:1px solid var(--color-border); color: var(--color-dark-blue); padding:10px 16px; border-radius: 10px; cursor:pointer; font-weight:700; }
.wizard-tab.active { background:#d9e9ff; } 

.back-link { color: var(--color-dark-blue); font-weight: 700; text-decoration: none; }
.back-link:hover { text-decoration: underline; } 